package com.ibangnuo.api.alipay;


import com.ibangnuo.framework.domain.request.alipay.*;
import com.ibangnuo.framework.model.response.ObjectResult;
import com.ibangnuo.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @Author: wwy
 * @Date: 2019-12-19 16:18
 */
@Api(value="支付管理",description = "支付宝支付接口管理，支付，资金授权")
public interface PayControllerApi {

    @ApiOperation("支付接口")
    ObjectResult pay(PayRequest payRequest);
    @ApiOperation("资金冻结接口")
    ResponseResult freeze(FreezingFundRequest freezingFundRequest);
    @ApiOperation("退款接口")
    ResponseResult refund(RefundRequest refundRequest);
    @ApiOperation("预创建单接口")
    ObjectResult preCreate(PreCreateRequest preCreateRequest);
    @ApiOperation("查询订单接口")
    ObjectResult queryResult(PayQueryResultResquest payQueryResultResquest);
    @ApiOperation("用户是否扫码接口")
    ObjectResult queryResultTwo(PayQueryResultResquest payQueryResultResquest);
}
